﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="IniciarProjeto.aspx.cs" Inherits="CursoUNICEUB.IniciarProjeto" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 149px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h1>Iniciar Projeto</h1>
<table style="width:100%;">
        <tr>
            <td class="style1">
                <asp:Label ID="Label1" runat="server" Text="Fim previsto :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtFimPrevisto" runat="server"></asp:TextBox>
                <asp:CalendarExtender ID="txtFimPrevisto_CalendarExtender" runat="server" 
                    Enabled="True" TargetControlID="txtFimPrevisto">
                </asp:CalendarExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtFimPrevisto" ErrorMessage="Fim previsto." 
                    ToolTip="Campo obrigatório." ValidationGroup="iniciar">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label2" runat="server" Text="Scrum Master :"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlScrumMaster" runat="server" 
                    DataSourceID="EntityDataSource1" DataTextField="Nome" DataValueField="Codigo">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="ddlScrumMaster" ErrorMessage="Scrum Master." 
                    InitialValue="0" ToolTip="Campo Obrigatório." ValidationGroup="iniciar">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label3" runat="server" Text="Tamanho da Sprint :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtTamanhoSprint" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtTamanhoSprint" ErrorMessage="Tamanho da Sprint." 
                    ToolTip="Campo obrigatório." ValidationGroup="iniciar">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label4" runat="server" Text="Valor Estimado :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtValorEstimado" runat="server"></asp:TextBox>
                <asp:MaskedEditExtender ID="txtValorEstimado_MaskedEditExtender" runat="server" 
                    CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                    CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                    CultureName="pt-BR" CultureThousandsPlaceholder="" CultureTimePlaceholder="" 
                    DisplayMoney="Left" Enabled="True" Mask="999.999,99" MaskType="Number" 
                    TargetControlID="txtValorEstimado">
                </asp:MaskedEditExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtValorEstimado" ErrorMessage="Valor Estimado." 
                    ToolTip="Campo obrigatório." ValidationGroup="iniciar">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;</td>
            <td>
                <asp:Button ID="btnIniciar" runat="server" onclick="btnIniciar_Click" 
                    Text="Iniciar" ValidationGroup="iniciar" />
                <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
                </asp:ScriptManagerProxy>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                    HeaderText="Favor verificar os seguintes campos :" ShowMessageBox="True" 
                    ShowSummary="False" ValidationGroup="iniciar" />
            </td>
        </tr>
    </table>
</asp:Content>
